<html>
<head>
<title>Upload Form</title>
</head>
<body>

<?php // echo $error;?>

<form action="<?=site_url()?>/add_product/test_thumb_image" method="post" enctype="multipart/form-data">
<input type="file" name="userfile" size="20" />

<br /><br />

<input type="submit" value="upload" />

</form>

</body>
</html>